package edu.wong.pro.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractMember entity provides the base persistence definition of the Member
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMember implements java.io.Serializable {

	// Fields

	private Integer memId;
	private String number;
	private String memname;
	private String password;
	private String gender;
	private String borthday;
	private String homeAddr;
	private String indate;
	private String shschool;
	private String college;
	private String major;
	private String schooladdr;
	private String phone;
	private String cornet;
	private String email;
	private String workaddr;
	private String worktype;
	private String position;
	private String detail;
	private String photo;
	private Integer active;
	private Integer contribution;
	private Set individoualActivities = new HashSet(0);
	private Set newses = new HashSet(0);
	private Set resources = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractMember() {
	}

	/** full constructor */
	public AbstractMember(String number, String memname, String password,
			String gender, String borthday, String homeAddr, String indate,
			String shschool, String college, String major, String schooladdr,
			String phone, String cornet, String email, String workaddr,
			String worktype, String position, String detail, String photo,
			Integer active, Integer contribution, Set individoualActivities,
			Set newses, Set resources) {
		this.number = number;
		this.memname = memname;
		this.password = password;
		this.gender = gender;
		this.borthday = borthday;
		this.homeAddr = homeAddr;
		this.indate = indate;
		this.shschool = shschool;
		this.college = college;
		this.major = major;
		this.schooladdr = schooladdr;
		this.phone = phone;
		this.cornet = cornet;
		this.email = email;
		this.workaddr = workaddr;
		this.worktype = worktype;
		this.position = position;
		this.detail = detail;
		this.photo = photo;
		this.active = active;
		this.contribution = contribution;
		this.individoualActivities = individoualActivities;
		this.newses = newses;
		this.resources = resources;
	}

	// Property accessors

	public Integer getMemId() {
		return this.memId;
	}

	public void setMemId(Integer memId) {
		this.memId = memId;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getMemname() {
		return this.memname;
	}

	public void setMemname(String memname) {
		this.memname = memname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBorthday() {
		return this.borthday;
	}

	public void setBorthday(String borthday) {
		this.borthday = borthday;
	}

	public String getHomeAddr() {
		return this.homeAddr;
	}

	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}

	public String getIndate() {
		return this.indate;
	}

	public void setIndate(String indate) {
		this.indate = indate;
	}

	public String getShschool() {
		return this.shschool;
	}

	public void setShschool(String shschool) {
		this.shschool = shschool;
	}

	public String getCollege() {
		return this.college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getSchooladdr() {
		return this.schooladdr;
	}

	public void setSchooladdr(String schooladdr) {
		this.schooladdr = schooladdr;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCornet() {
		return this.cornet;
	}

	public void setCornet(String cornet) {
		this.cornet = cornet;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWorkaddr() {
		return this.workaddr;
	}

	public void setWorkaddr(String workaddr) {
		this.workaddr = workaddr;
	}

	public String getWorktype() {
		return this.worktype;
	}

	public void setWorktype(String worktype) {
		this.worktype = worktype;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Integer getActive() {
		return this.active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

	public Integer getContribution() {
		return this.contribution;
	}

	public void setContribution(Integer contribution) {
		this.contribution = contribution;
	}

	public Set getIndividoualActivities() {
		return this.individoualActivities;
	}

	public void setIndividoualActivities(Set individoualActivities) {
		this.individoualActivities = individoualActivities;
	}

	public Set getNewses() {
		return this.newses;
	}

	public void setNewses(Set newses) {
		this.newses = newses;
	}

	public Set getResources() {
		return this.resources;
	}

	public void setResources(Set resources) {
		this.resources = resources;
	}

}